﻿using System;

namespace ForgeCraft
{
    public struct ObjectItem
    {
        public byte Type;

        public ObjectItem(byte type)
        {
            Type = type;
        }

        override public string ToString()
        {
            string name = "[ObjItem ";
            if (Type == 0)
            {
                name += "Nil";
            }
            else
            {
                name += "Object." + ((Object)Type).ToString();
            }
            name += "]";
            return name;
        }
    }
}